package com.sfexpress.tools.entity;

/**
 * mysql表级约束信息, 从information_schema.TABLE_CONSTRAINTS表获取
 * @author 01169238
 *
 */
public class MysqlTableConstInfo {
	
	private String constraintName;
	private String constraintType;
	
	public String toString() {
		
		StringBuffer sb = new StringBuffer();
		sb.append("[")
			.append("constraintName = " + this.constraintName + ", ")
			.append("constraintType = " + this.constraintType)
			.append("]");
		
		return sb.toString();
	}
	
	public String getConstraintName() {
		return constraintName;
	}
	public void setConstraintName(String constraintName) {
		this.constraintName = constraintName;
	}
	public String getConstraintType() {
		return constraintType;
	}
	public void setConstraintType(String constraintType) {
		this.constraintType = constraintType;
	}
	
	

}
